<?php
/**
 * 测试
 */

if(!defined('LOCAL') || !LOCAL) return [];

return [
	'etongdai'=>[
		'parser'=>['json', 'register', ['code', null, false]],
		'desc'=>'易通贷',
		
		'main'=> [
			'url'=>'http://app.etongdai.com/register/checkPhones',
			'data'=>'phones={$mobile}',
			'post'=>true,
		]
	],
	
	'lu'=>[
		'parser'=>['json', 'register', ['resultId', '01', false]],
		'desc'=>'陆金所',
		
		'main'=> [
			'url'=>'https://user.lu.com/user/service/user/check-phone-is-used',
			'data'=>'newPhoneNum={$mobile}&enterpriseFlag=0&_=1480903840735',
		]
	],
	
	'edai'=>[
		'parser'=>['string', 'register', ['str', '1']],
		'desc'=>'易贷网',
		
		'main'=> [
			'url'=>'http://www.edai.com/user/exist/',
			'data'=>'phone={$mobile}',
			'post'=>true
		]
	],
	
	'hfax'=>[
		'parser'=>['json', 'register', ['retMsg', "0000", false]],
		'desc'=>'惠金所',
		
		'main'=> [
			'url'=>'https://www.hfax.com/isrepeat.do',
			'data'=>'paramMap.userName={$mobile}',
			'post'=>true
		]
	],
	
	'btctrade'=>[
		'parser'=>['json', 'register', ['msg', '', false]],
		'desc'=>'比特币交易网',
		
		'main'=> [
			'url'=>'https://m.btctrade.com/ajax/user/email/15801190077/actype/2',
			'data'=>'',
		]
	],
	
	'huobi'=>[
		'parser'=>['json', 'register', ['msg', '', false]],
		'desc'=>'火币网',
		
		'main'=> [
			'url'=>'https://www.huobi.com/account/register.php',
			'data'=>'a=check_username&email_or_phone={$mobile}&type=phone&r=0.8261152959423317',
		]
	],
	
	'btc123'=>[
		'parser'=>['json', 'register', ['isSuc', false]],
		'desc'=>'BTC123',
		
		'main'=> [
			'url'=>'https://www.btc123.com/user/check/checkUser',
			'data'=>'user={$mobile}&type=2',
		]
	],
	
	'yyfax'=>[
		'parser'=>['str', 'register', ['str', 'true']],
		'desc'=>'友金所',
		
		'main'=> [
			'url'=>'https://www.yyfax.com/checkNameExists.htm',
			'data'=>'accountName={$mobile}',
			'post'=>true
		]
	],
	
	'p2p001'=>[
		'parser'=>['json', 'register', ['content', 'yes', false]],
		'desc'=>'第一网贷',
		
		'main'=> [
			'url'=>'http://www.p2p001.com/common/ckephone/',
			'data'=>'txt_phone={$mobile}',
			'post'=>true
		]
	],

	'manyoubang'=>[
		'parser'=>['json', 'register', ['status', 'y', false]],
		'desc'=>'慢友帮',
		
		'main'=> [
			'url'=>'http://www.manyoubang.com/index.php?app=user&ac=do&ts=sent_verify_regesiter_phone',
			'data'=>'name=phone&param={$mobile}',
			'post'=>true,
		]
	],
	
	'ttkdex'=>[
		'parser'=>['str', 'register', ['regexp', '#可以使用#', false]],
		'desc'=>'天天快递',
		
		'main'=> [
			'url'=>'http://www.ttkdex.com/mytt/customerAction!validatePhoneTel.action',
			'data'=>'password=&userPhoneTel={$mobile}',
			'post'=>true,
		]
	],

	'179com'=>[
		'parser'=>['json', 'register', ['errno', 0, false]],
		'desc'=>'179游戏',
		
		'main'=> [
			'url'=>'http://login.179.com/reg/exists',
			'data'=>'type=3&mobile={$mobile}',
			'post'=>true,
		]
	],

	'51play'=>[
		'parser'=>['json', 'register', ['mess', "账号可用", false]],
		'desc'=>'无限时空',
		
		'main'=> [
			'url'=>'https://passport.51play.com/register.do',
			'data'=>'method=checkMobileUserid&userid={$mobile}&r=0.11916511967649956',
			'post'=>true,
		]
	],
	
	'clcw'=>[
		'parser'=>['json', 'register', ['code', 200, false]],
		'desc'=>'车来车往',
		
		'list'=>[['url'=>'http://www.clcw.com.cn/Auth/reg.html', 'data'=>'', 'mobile'=>false]],
		
		'main'=> [
			'url'=>'http://www.clcw.com.cn/Auth/valiate_user.html',
			'data'=>'type=2&phone={$mobile}',
			'post'=>true,
			'mobile'=> false,
		]
	],
	
	'jiemian'=>[
		'parser'=>['json', 'register', ['status', 'y', false]],
		'desc'=>'界面网络',
		
		'main'=> [
			'url'=>'https://passport.jiemian.com/mobile/rajax',
			'data'=>'name=mobile&param={$mobile}',
			'post'=>true,
		]
	],
	
	'knowbox'=>[
		'parser'=>['json', 'register', ['code', 20205]],
		'desc'=>'作业盒子',
		
		'main'=> [
			'url'=>'http://api.knowbox.cn/v1_user/teacher/login?source=webTeacher&version=2.4.0',
			'data'=>'{mobile:"{$mobile}",password:"C{$time}",kbparam:"be8cb98607e862047133512bf9e10c86"}',
			'post'=>true,
			'http_header'=>['content-type:application/json']
		]
	],
	
	
	
	
	
	
	
	

	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
];